package com.hjrpc.babyyamall.member.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hjrpc.common.utils.PageUtils;
import com.hjrpc.common.utils.Query;

import com.hjrpc.babyyamall.member.dao.MemberSocialDao;
import com.hjrpc.babyyamall.member.entity.MemberSocialEntity;
import com.hjrpc.babyyamall.member.service.MemberSocialService;


@Service("memberSocialService")
public class MemberSocialServiceImpl extends ServiceImpl<MemberSocialDao, MemberSocialEntity> implements MemberSocialService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MemberSocialEntity> page = this.page(
                new Query<MemberSocialEntity>().getPage(params),
                new QueryWrapper<MemberSocialEntity>()
        );

        return new PageUtils(page);
    }

}